{% extends 'oratk_app/master.html' %}
{% block tag_left %}
    {% include 'oratk_app/tag_left_user.html' %}
{% endblock %}
{% block title %}
    <title>ORATK</title>
{% endblock %}
{% block userinfo %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h2 class="page-header">ora查询项管理-功能项详情</h2>
        <form class="form-horizontal" action={{ request.path }}   method="post">
            <div class="form-group" style="display:none">
                <label class="col-sm-2 control-label">id：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="id" name="v_id" value={{ more_result.id }}>
                </div>
            </div>
            <div class="form-group" style="display:none">
                <label class="col-sm-2 control-label">id：</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" placeholder="id" name="v_id"
                           value={{ more_result.id }}>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">name：</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" placeholder="名称" name="add_name"
                           value="{{ more_result.name }}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">desc：</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" placeholder="描述" name="add_desc"
                           value="{{ more_result.desc }}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">sqltext：</label>
                <div class="col-sm-10">
                    <textarea type="text" style="height: 110px;" class="form-control" placeholder="sqltext"
                              name="add_sqltext"
                              value="{{ more_result.sqltext }}">{{ more_result.sqltext }}</textarea>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">args_mark：</label>
                <div class="col-sm-3">
                    <select class="form-control" name="add_args_mark">
                        <option>{{ more_result.args_mark }}</option>
                        <option>是</option>
                        <option>否</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">args_count：</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" placeholder="参数个数" name="add_args_count"
                           value={{ more_result.args_count }}>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">args_type：</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" placeholder="参数类型" name="add_args_type"
                           value={{ more_result.args_type }}>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">args_status：</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" placeholder="参数状态" name="add_args_status"
                           value={{ more_result.args_status }}>
                </div>
            </div>


            <div class="form-group">
                <label class="col-sm-2 control-label">args_val：</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" placeholder="参数内容" name="add_args_val"
                           value={{ more_result.args_val }}>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">exec_type：</label>
                <div class="col-sm-3">
                    <select class="form-control" name="add_exec_type">
                        <option>{{ more_result.args_exec }}</option>
                        <option>sql执行</option>
                        <option>shell执行</option>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">status：</label>
                <div class="col-sm-3">
                    <select class="form-control" name="add_status">
                        <option>{{ more_result.status }}</option>
                        <option>active</option>
                        <option>locked</option>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">remake：</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" placeholder="备注" name="add_remake"
                           value={{ more_result.remake }}>
                </div>
            </div>
            <div class="col-sm-10">
                <div style="text-align:center;vertical-align:middle;"><button type="submit" class="btn ">返回</button></div>
            </div>
        </form>
    </div>
{% endblock %}